<template>
    <div class="page-content">
        <div class="list-block">
            <ul>
                <template v-for="item in renderData">
                    <list-item-single :item="item">
                        <i :class="['icon', item.icon]" slot="list-icon"></i>
                    </list-item-single>
                </template>
            </ul>
        </div>
    </div>
</template>

<script type="javascript">

    import listItemSingle from '../components/list-item-single.vue'

    export default{
        data() {
            return { renderData:[
                {
                    icon: 'icon-timer',
                    name: '最近浏览',
                    pageName: '',
                },
            ]}
        },
        components: {
            'list-item-single':listItemSingle,
        },
        mounted () {

            //初始化列表

        },
        methods: {
            navTo (pageName) {
                myApp.redictNewPage(pageName, true)
            }

        },

    }
</script>
